package com.lx.txx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.annotation.Configuration;

/**
 * <p>
 * 天下行租车-用车表-10
 * </p>
 *
 * @author lx
 * @since 2024-12-30
 */
@Getter
@Setter
@Data
@TableName("txx_lease")
public class TxxLease implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 车辆ID
     */
    @TableField("cid")
    private Integer cid;

    /**
     * 用户ID
     */
    @TableField("uid")
    private Integer uid;

    /**
     * 订单时间
     */
    @TableField("order_time")
    private LocalDateTime orderTime;

    /**
     * 提车时间
     */
    @TableField("out_time")
    private LocalDateTime outTime;

    /**
     * 还车时间
     */
    @TableField("back_time")
    private LocalDateTime backTime;

    /**
     * 借出日期: 2023-01-01,2023-01-02
     */
    @TableField("days")
    private String days;

    /**
     * 金额
     */
    @TableField("money")
    private Long money;

    /**
     * 状态: 支付,提车,还车
     */
    @TableField("state")
    private String state;

    /**
     * 备注: 车辆是否损坏, 赔偿情况...
     */
    @TableField("remark")
    private String remark;

}
